package com.lebang.configuration.datasource;

import com.zaxxer.hikari.HikariDataSource;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 实际数据源配置
 *
 * @author: hwq
 * @date: 2020-05-13 16:17
 *
 */
@Component
@Data
@ConfigurationProperties(prefix = "spring.datasource")
public class DBProperties {
    private HikariDataSource defaultDB;
    private HikariDataSource commonDB;

}